<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        article{
          display: flex;
          width: 400px;
          height: 100vh;
          padding: 10px;
        } 
        article div:nth-child(1) {
            /* 不缩小 */
            flex-shrink: 0;
        }
        article div:nth-child(2) {
            /* 缩小一倍 */
            flex-shrink: 1;
        }
        article div:nth-child(3) {
            flex-shrink: 2;
        }
        article div{
            width: 200px;
            height: 100px;
            line-height: 80px;
            text-align: center;
            color: #fff;
            font-size: 25px;
            border: 1px solid blueviolet;
            background-image: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
            box-sizing: border-box;
            background-clip: content-box;
            padding: 10px;
        }
    </style>
</head>
<body>
    <article>
        <div>1</div>
        <div>2</div>
        <div>3</div>
    </article>
</body>
</html>